Criar devolução de um recebimento

post/payin_refunds

Request

  • Base URL
    https://api.transfeera.com
  • URL
    https://api.transfeera.com/payin_refunds
  • Auth
    HTTP bearer

Parameters

#/paths/~1payins/post/parameters/0 (unresolved $ref)
#/paths/~1payins/parameters/0 (unresolved $ref)

Request body

payin_idstring required

Payin id to be refunded.

amountinteger

Amount in cents. Isn't required for credit card refund.

Example request

{
  "payin_id": "1f0a9e04-7834-616a-9ced-8a448c6a7dc1",
  "amount": 3990
}

Response

OK

idstring uuid
payin_idstring uuid
amountinteger
status'pending' | 'succeeded' | 'failed'
created_atstring date-time
updated_atstring date-time

Example response

{
  "id": "1f0a9e03-1291-6d95-bd2a-17c3f5966682",
  "payin_id": "1f0a9e03-1291-6d95-bd2a-17c3f5966682",
  "amount": 3990,
  "status": "pending",
  "error": null,
  "created_at": "2019-08-24T14:15:22Z",
  "updated_at": "2019-08-24T14:15:22Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.