How to validate Perfect Money account number in php

About Perfect Money

Perfect Money is a leading financial service allowing the users to make instant payments and to make money transfers securely throughout the Internet opening unique opportunities to Internet users and owners of the Internet businesses. Perfect Money targets to bring the transactions on the Internet to the ideal level!

In this post we will show you how to validate Perfect Money account number before making transaction into it using php.

See the code below

Using this code it will print response about the request.

Example

If Invalid it will Print “ERROR: Invalid Account”

If valid it will Print Account Name.

Note: Please make sure you have entered correct AccountID and PassPhrase before making request.