Create Payment.

Creates a payment record and, processes or authorizes the created payment record. Requires public key.

⚠️ For Basic Authentication, use PUBLIC API KEY. Learn more →

Body Params
string
enum
required

The payment options available to the merchant.

Allowed:
paymentMethod
object
required

Method of the payment.

string
enum

Indicates the type of authorization applied.

Allowed:
uuid
required

The unique identifier of an account link acquired during Maya Account linking.

payment
object
required

Contains the information of the payment.

Headers
string

Contains signature information that is used to validate the integrity of the request. Only required if your integration is configured with Maya-Signature.

Responses

Language
Credentials
Basic
base64
:
URL
Response
Choose an example:
application/json