Saltar para o conteúdo

Checkout

Embedded payment form solution for websites

Shows checkout details

Pedido

Required scope: checkout:read

Segurança
accountId and apiKey
Caminho
idstring, (uuid)obrigatório

Resource Identification

curl -i -X GET \
  'https://api.test.easypay.pt/2.0/checkout/{id}' \
  -H 'AccountId: 2b0f63e2-9fb5-4e52-aca0-b4bf0339bbe6' \
  -H 'ApiKey: eae4aa59-8e5b-4ec2-887d-b02768481a92'

Respostas

OK

Corpoapplication/json
statusstring
Enum:"failed""success"
messageArray of strings
checkoutobject
paymentobject
valuenumber
Response
{ "status": "failed", "message": [ "string" ], "checkout": { "id": "string", "status": "pending" }, "payment": { "id": "string", "status": "waiting", "methods": [], "type": "single", "expiration_time": "string", "currency": "string", "key": "string", "max_value": 0, "min_value": 0, "unlimited_payments": true, "frequency": "string", "max_captures": 0, "start_time": "string", "failover": true, "capture_now": true, "retries": 0, "notification": {} }, "value": 0 }