curl --request GET \
--url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id}/admissions/{admission_id} \
--header 'X-PAYLIAS-API-KEY: <api-key>' \
--header 'x-org-id: <x-org-id>' \
--header 'x-partner-id: <x-partner-id>'{
"ok": true,
"data": {
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc53",
"status": 1,
"submission_time": 1743273405,
"token": "sub_cvk3rfc20or8munut3tg",
"relationships": {
"payment": {
"amount": {
"currency": "USD",
"total": "10000"
},
"beneficiary_party": {
"billing": {
"country": "US"
},
"email": "[email protected]",
"first_name": "Ziyad",
"last_name": "Parekh",
"payment_address": "ziyad@safepay-platinum",
"phone": "+923008277879",
"type": "Payee_Individual"
},
"debtor_party": {
"billing": {
"country": "US"
},
"email": "[email protected]",
"first_name": "John",
"last_name": "Collison",
"payment_address": "john@stripe-platinum",
"phone": "+16462442945",
"type": "Payee_Individual"
},
"device": {},
"expires_at": 1743276991,
"initiated_at": 1743273391,
"location": {},
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc53",
"reference": "INV0001"
}
}
}
}Find Payment Admission
curl --request GET \
--url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id}/admissions/{admission_id} \
--header 'X-PAYLIAS-API-KEY: <api-key>' \
--header 'x-org-id: <x-org-id>' \
--header 'x-partner-id: <x-partner-id>'{
"ok": true,
"data": {
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc53",
"status": 1,
"submission_time": 1743273405,
"token": "sub_cvk3rfc20or8munut3tg",
"relationships": {
"payment": {
"amount": {
"currency": "USD",
"total": "10000"
},
"beneficiary_party": {
"billing": {
"country": "US"
},
"email": "[email protected]",
"first_name": "Ziyad",
"last_name": "Parekh",
"payment_address": "ziyad@safepay-platinum",
"phone": "+923008277879",
"type": "Payee_Individual"
},
"debtor_party": {
"billing": {
"country": "US"
},
"email": "[email protected]",
"first_name": "John",
"last_name": "Collison",
"payment_address": "john@stripe-platinum",
"phone": "+16462442945",
"type": "Payee_Individual"
},
"device": {},
"expires_at": 1743276991,
"initiated_at": 1743273391,
"location": {},
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc53",
"reference": "INV0001"
}
}
}
}The Organization ID header used for authorization
The Partner ID header used for authorization
The unique identifier for the payment
"pay_123456789"
The unique identifier for the admission
"adm_ct23b6420or249k5boag"
Response containing payment submission information
Standard response structure for successful operations
Indicates if the operation was successful
true
Contains the response data Submission of a payment, including metadata and relationships
Show child attributes
"org_ct239n420or249k5bo90"
"part_ct23b6420or249k5boag"
"cjes76vsemvj3obsnc53"
1, 2, 3, 4 1
1743273405
"sub_cvk3rfc20or8munut3tg"
Contains related resources
Show child attributes
Payment information
Show child attributes
Party information for payments
Show child attributes
Email of the party
First name of the party
"John"
Last name of the party
"Doe"
Payment address of the party
"john@safepay"
Phone number of the party
"+1234567890"
Type of the party
"individual"
Party information for payments
Show child attributes
Email of the party
First name of the party
"John"
Last name of the party
"Doe"
Payment address of the party
"john@safepay"
Phone number of the party
"+1234567890"
Type of the party
"individual"
Device information
Expiration time of the payment
"2023-08-13T08:55:04Z"
Initiation time of the payment
"2023-08-12T08:55:04Z"
Location information
ID of the organization
"org_d09gv1s20or2svojjmt0"
ID of the partner
"part_123456789"
Payment identifier
"pay_123456789"
Reference for the payment
"INV001"
The type of payment to initiate
Type_Pull, Type_Push "Type_Pull"
Was this page helpful?