Answer Format
Note: For supported statuses please see Statuses per Method.
Each plug-in must return responses that include the response body and the response code.
HTTP Response Сode
For successful responses, each plug-in must return HTTP codes 200 or 201. Only these HTTP codes are considered by Billing as successful responses.
HTTP Response Body
Name |
Type |
Mandatory |
Values |
Description |
---|---|---|---|---|
|
string |
yes |
APPROVED FRAUD DECLINED 3DSECURE >PENDING AUTHCALL ERROR REDIRECT MODAL |
Operation result status. Note: For information on supported statuses for each method refer to Statuses per Method. |
|
array |
no |
name-value |
The array that will be associated with current transaction and will be represented back in unchanged form as the value of the Note: Billing looks up the |
|
integer |
mandatory for status PENDING |
1..* |
The delay in seconds before transaction processing attempt will be repeated. |
|
struct |
mandatory for status REDIRECT |
|
Provide information for redirect. Parameters:
|
|
struct |
no |
|
The array that contains the following parameters:
|
|
array |
no |
|
If this array is passed, Billing tries to add a new payment method: e.g., creates token after redirect. Billing looks up the if the payment method has an expiration date, the expiration date may be included by parameter All the other name-value pairs will be stored and passed to the plug-in with the next payment operation. |
NOTIFY_RESPONSE |
array |
no |
|
The array that can produce response on the Notify URL request. Parameters:
|
MODAL_FORM |
array |
no |
|
The array that passes the attributes (required for displaying the checkout modal form) to UI. Parameters:
|