POST
/
payinRequests
curl --request POST \
  --url https://prod.api.palomma.com/v0/payinRequests \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "reference": "<string>",
  "payinSourceId": "<string>",
  "amount": 123,
  "targetMerchantAccountId": "<string>"
}'
{
  "id": "01HPR83V7JBNJTKT303NTY3YGA",
  "reference": "<string>",
  "customerId": "01HPR57X6QR5ZRKEEKBSDBW4RA",
  "customerDetails": {
    "reference": "<string>",
    "name": "Pepito Perez",
    "documentType": "cc",
    "documentNumber": "1037551022",
    "email": "pepito@gmail.com",
    "phoneNumber": "3013111111"
  },
  "payinSourceId": "01HPR7A40E44S0WDR189YXA8GH",
  "payinSourceDetails": {
    "reference": "<string>",
    "description": "<string>",
    "partialPayinsEnabled": true,
    "type": "bankAccount"
  },
  "status": "approved",
  "statusMessage": "AUTHENTICATION_FAILED",
  "amount": 100000,
  "amountCollected": 100000,
  "fee": 500,
  "targetMerchantAccountId": "<string>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Response

200
application/json

Payin Request created successfully

The response is of type object.