Skip to main content
POST
/
api
/
v2
/
payment
/
{transactionId}
/
pay
Finish two-step card payment
curl --request POST \
  --url https://gateway.paybyrd.com/api/v2/payment/{transactionId}/pay \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "card": {
    "number": "5386134136087954",
    "expiration": "03/29",
    "cvv": "965",
    "holder": "Peter Parker",
    "ThreeDsVersion": "V2",
    "Aav": "cbd05c44c572458ba7468df0f75c932a",
    "DsTransactionId": "a3ad6ed8-c4b0-4cb4-972e-46e86a041ad1",
    "Eci": "01",
    "VerificationMethod": "ThreeDSecure"
  }
}
'
{
  "code": "BYRD200",
  "description": "Operation successfully completed",
  "status": "Success"
}

Authorizations

x-api-key
string
header
required

Path Parameters

transactionId
string
required

The transaction identification to be paid

Body

application/json
card
object
required

Response

200 - application/json

200

code
enum<string>

Represents the Paybyrd code of the web request. To see more details check in Return Codes [blocked] page.

Available options:
BYRD010,
BYRD200,
BYRD201,
BYRD203,
BYRD205,
BYRD206,
BYRD207,
BYRD208,
BYRD230,
BYRD231,
BYRD240,
BYRD290,
BYRD291,
BYRD292,
BYRD294,
BYRD299,
BYRD401,
BYRD403,
BYRD900,
BYRD901,
BYRD999
Example:

"BYRD200"

description
enum<string>

Represents a textually the description of the Paybyrd code of the web request. To see more details check in Return Codes [blocked] page

Available options:
Request accepted,
Operation successfully completed,
Payment being processed. Waiting for shopper,
An error occurred while processing the payment. Please query the transaction to confirm its status,
Operation rejected,
Operation blocked by velocity,
Pending redirect,
Payment canceled by the shopper,
Payment already refunded,
The refund amount exceeds the remaining balance of the original payment,
Token is expired,
An error occurred while pre processing the transaction. Please review your request and try again,
An error occurred during while preparing transaction for acquiring. Please review your request and try again,
No payment methods available for this operation. Please contact Paybyrd's support,
Transaction could not be updated. Please review your request and try again,
Operation could not be completed. Please review your request and try again,
Resource access is forbidden,
Resource access unauthorized,
Invalid input,
Resource not found,
Operation failed
Example:

"Operation successfully completed"

status
string
Example:

"Success"