curl --request GET \
--url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id}/admissions \
--header 'X-PAYLIAS-API-KEY: <api-key>' \
--header 'x-org-id: <x-org-id>' \
--header 'x-partner-id: <x-partner-id>'{
"ok": true,
"data": {
"admission_time": 1743272447,
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc52",
"status": 1,
"token": "pay_adm_cvk3jvs20or8munut3mg",
"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": 1743273661,
"initiated_at": 1743270060,
"location": {},
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc52",
"reference": "INV0001"
}
}
}
}Fetch Payment Admission by Payment
curl --request GET \
--url https://sandbox.api.paylias.xyz/gateway/api/v1/csp/payments/{payment_id}/admissions \
--header 'X-PAYLIAS-API-KEY: <api-key>' \
--header 'x-org-id: <x-org-id>' \
--header 'x-partner-id: <x-partner-id>'{
"ok": true,
"data": {
"admission_time": 1743272447,
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc52",
"status": 1,
"token": "pay_adm_cvk3jvs20or8munut3mg",
"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": 1743273661,
"initiated_at": 1743270060,
"location": {},
"organization_id": "org_ct239n420or249k5bo90",
"partner_id": "part_ct23b6420or249k5boag",
"payment_id": "cjes76vsemvj3obsnc52",
"reference": "INV0001"
}
}
}
}The Organization ID header used for authorization
The Partner ID header used for authorization
The unique identifier for the payment
"pay_123456789"
Response containing payment admission information
Standard response structure for successful operations
Indicates if the operation was successful
true
Contains the response data Admission of a payment into the system, including metadata and relationships
Show child attributes
The timestamp when the payment was admitted
1743272447
The ID of the organization associated with the payment
"org_ct239n420or249k5bo90"
The ID of the partner associated with the payment
"part_ct23b6420or249k5boag"
Unique identifier for the admitted payment
"cjes76vsemvj3obsnc52"
Status of the payment admission
1, 2, 3, 4 1
Unique identifier for the payment admission
"pay_adm_cvk3jvs20or8munut3mg"
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?