Create a Payment PaymentAction

Add paymentAction for an order payment

SecurityBearer
Request
path Parameters
order_id
required
string

Order identifier

payment_id
required
string

Payment identifier

header Parameters
x-merchant
required
string non-empty

Merchant identifier.

Example: norce
x-channel
required
string non-empty

Channel identifier

Example: 1
Request Body schema: application/json

Payment Actions

Array
adapterId
required
string non-empty
type
required
string non-empty
url
required
string non-empty
Responses
200

OK

400

Bad Request

401

Unauthorized

404

Not Found

500

Internal Server Error

post/api/v0/checkout/orders/{order_id}/payments/{payment_id}/actions
Request samples
application/json
[
  • {
    }
]
Response samples
application/json
{
  • "code": "order-not-found",
  • "message": "Order with id:{id} not found."
}
Copyright © Norce 2024. All right reserved.