Merchant Info

Merchant Info request is used to obtain data about the shop, created in the wayforpay system.

Request parameters

The request with the required parameters is generated on the side of the merchant and transferred with the help of POST method through HTTP protocol to URL https://api.wayforpay.com/mms/merchantInfo.php

Parameter

Description

Mandatory

merchantAccount

Unique merchant identifier

yes

merchantAccountInfo

Account of the shop, information about which it is required to obtain

yes

secretKey

Secret key of the shop, information about which it is required to obtain

yes

Response parameters

Parameter

Description

Example

merchantAccount

Unique merchant identifier, generated for the shop

test_merch_n2

site

Merchant web-site

site.com

description

Merchant shop/activity category description

description of shop

 Phone

Merchant telephone number in international format

380901234567

Email

Merchant E-mail

ff1f@com

compensation

Compensation type: card/account

card

merchantStatus

Shop status: New, Active, Blocked

active

createDate

Shop creation date

12.01.2016

Request and response example

Request:
{
"merchantAccount":"test_merch_n1",
"merchantSignature":"sdfds3eda323edsds235ds4s44sbmuu6"
}
 
Response:
{
"reason":"Ok",
"reasonCode":1100,
"merchantAccount":"test_merch_n2",
"site":"site.com",
"description":"description of shop",
"phone":"380901234567",
"email":"ff1f@com",
"compensation":"card",
"status":"active",
"createDate":"12.01.2016"
}